package com.qfedu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qfedu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper   //声明当前类是mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("Select * from tb_user where id= #{id}")
    User selectUser(int id);
}
